{extend name="public/world"}
{block name="title"}基础配置{/block}
{block name="style"}
<style type="text/css">
    .layui-form-label {width:150px;}
    .layui-form-item {margin-bottom: 8px;}
    .layui-upload-img {width: 150px;height: 100px;}
    .layui-upload-list-son{position: relative;width: 150px;padding: 0 10px;display: inline-block;}
    .layui-layer-setwin {right: 25px;}
</style>
{/block}
{block name="container"}
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <form class="layui-form" action="{:url('/setting.SystemConfig/basic')}" method="post" style="padding: 20px 0 0;">
                <fieldset class="layui-elem-field">
                    <legend> * 基本配置 * </legend>
                    <div class="layui-form-item">
                        <label class="layui-form-label">网站名称</label>
                        <div class="layui-input-inline" style="width:250px;">
                            <input type="text" name="site_name[value]" value="{$list.site_name ?? ''}" placeholder="请输入网站名称" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-form-mid layui-word-aux"> * 网站名称</div>
                        <input type="hidden" name="site_name[parameter]" value="">
                        <input type="hidden" name="site_name[info]" value="网站名称">
                        <input type="hidden" name="site_name[desc]" value="网站名称">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">网站域名</label>
                        <div class="layui-input-inline" style="width:250px;">
                            <input type="text" name="site_url[value]" value="{$list.site_url ?? ''}" placeholder="请输入网站域名" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-form-mid layui-word-aux"> * 网站域名</div>
                        <input type="hidden" name="site_url[parameter]" value="">
                        <input type="hidden" name="site_url[info]" value="网站域名">
                        <input type="hidden" name="site_url[desc]" value="网站域名">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">SEO标题</label>
                        <div class="layui-input-inline" style="width:250px;">
                            <input type="text" name="seo_title[value]" value="{$list.seo_title ?? ''}" placeholder="请输入SEO标题" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-form-mid layui-word-aux"> * SEO标题</div>
                        <input type="hidden" name="seo_title[parameter]" value="">
                        <input type="hidden" name="seo_title[info]" value="SEO标题">
                        <input type="hidden" name="seo_title[desc]" value="SEO标题">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">SEO描述</label>
                        <div class="layui-input-inline" style="width:416px;">
                            <textarea name="seo_desc[value]" placeholder="请输入SEO描述" class="layui-textarea" style="min-height: 80px;">{$list.seo_desc ?? ''}</textarea>
                        </div>
                        <div class="layui-form-mid layui-word-aux"> * SEO描述</div>
                        <input type="hidden" name="seo_desc[parameter]" value="">
                        <input type="hidden" name="seo_desc[info]" value="SEO描述">
                        <input type="hidden" name="seo_desc[desc]" value="SEO描述">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">联系电话</label>
                        <div class="layui-input-inline" style="width:250px;">
                            <input type="text" name="site_phone[value]" value="{$list.site_phone ?? ''}" placeholder="请输入联系电话" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-form-mid layui-word-aux"> * 联系电话</div>
                        <input type="hidden" name="site_phone[parameter]" value="">
                        <input type="hidden" name="site_phone[info]" value="联系电话">
                        <input type="hidden" name="site_phone[desc]" value="联系电话">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">联系QQ</label>
                        <div class="layui-input-inline" style="width:250px;">
                            <input type="text" name="site_qq[value]" value="{$list.site_qq ?? ''}" placeholder="请输入联系QQ" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-form-mid layui-word-aux"> * 联系QQ</div>
                        <input type="hidden" name="site_qq[parameter]" value="">
                        <input type="hidden" name="site_qq[info]" value="联系QQ">
                        <input type="hidden" name="site_qq[desc]" value="联系QQ">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">网站缓存时间</label>
                        <div class="layui-input-inline" style="width:250px;">
                            <input type="text" name="cache_config[value]" value="{$list.cache_config ?? ''}" placeholder="请输入网站缓存时间" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-form-mid layui-word-aux"> * 网站缓存时间</div>
                        <input type="hidden" name="cache_config[parameter]" value="">
                        <input type="hidden" name="cache_config[info]" value="网站缓存时间">
                        <input type="hidden" name="cache_config[desc]" value="配置全局缓存时间">
                    </div>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="layui-btn layui-btn-normal" lay-submit="" lay-filter="formSubmit">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script>
    //JavaScript代码区域
    layui.use(['form','upload'], function() {
    });
</script>
{/block}